package cn.coco.jf.fw.api.config;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jfinal.handler.Handler;

public class GlobalViewHandler extends Handler{

	@Override
	public void handle(String arg0, HttpServletRequest req,
			HttpServletResponse resp, boolean[] arg3) {
		resp.setHeader("Access-Control-Allow-Origin", "*");

		this.next.handle(arg0, req, resp, arg3);
	}

}
